package com.weishaoying.api.enums;

import com.facebook.swift.codec.ThriftEnum;

@ThriftEnum
public enum GenderEnum {

    GENDER_MALE(1, "male", "男性"),

    GENDER_FEMALE(2, "female", "女性"),

    GENDER_UNKNOWN(0, "unknown", "保密");

    private Integer id;
    private String value;
    private String desc;

    GenderEnum(Integer id, String value, String desc) {
        this.id = id;
        this.value = value;
        this.desc = desc;
    }

    // @ThriftEnumValue
    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }
}